<?php

namespace app\api\controller\v1;

use app\common\controller\Api;
use addons\litestore\model\Litestorecategory;
use fast\Tree;

class Category extends Api
{
	protected $noNeedLogin = ['*'];

	public function _initialize()
    {
        parent::_initialize();
    }

    public function getList(){

        $categoryModel = new \app\admin\model\litestore\Litestorecategory();
        $list = $categoryModel->where('is_menu',1)->select();
        $this->success('',$list);

    }



}